This is the revision history for dispatch table in <freenode.net:#perlbot>

factoid_idsubjectcopulapredicateauthornamespace
9864 dispatch table is A hash that maps strings to coderefs. eg my %dispatch = ( foo => sub { print "foo" } , bar => \&some_other_sub, baz => sub { print for @_ } ); To use: $dispatch{$action}->(@arguments); (or $dispatch{$action}->() if no arguments) altreus <*:##NULL>
3911 dispatch table is A hash table containing mapping strings to coderefs. eg my %dispatch = ( foo => sub { print "foo" } , bar => \&some_other_sub, baz => sub { print for @_ } ); To use: $dispatch{$action}->(@arguments); (or $dispatch{$action}->() if no arguments) perlbot <*:##NULL>